package com.example.entity;
import java.io.Serializable;

public class User implements Serializable {

    private static final long serialVersionUID = -1L;

    private String username;
    private Integer age;

    public User(String username, Integer age) {
        this.username = username;
        this.age = age;
    }
    

    public User() {
    }

    public String getUsername() {
        return username;
    }

   public void setUsername(String username) {
       this.username = username;
   }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

	@Override
	public String toString() {
		return "User [username=" + username + ", age=" + age + "]";
	}
    
}
